import {
	request
} from '@/plugins/axios';
const token = uni.getStorageSync('token');
export function getAudioListByMoodId(moodId) {
    return request({
        // 替换为具体路径前缀
        url: `http://localhost:8790/data-mood-api/app/audio/getAudioListByMoodId`,
        method: 'GET',
		headers: {
		    'Authorization': `${token}`
		},
		params: { moodId },
    });
}
export function getAudioListByPopular(popular) {
    return request({
        // 替换为具体路径前缀
        url: `http://localhost:8790/data-mood-api/app/audio/getAudioListByPopular`,
        method: 'GET',
		headers: {
		    'Authorization': `${token}`
		},
		params: { popular },
    });
}